<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体粗细</title>
    <style>
        p{
            /* 400是默认 */
            font-weight: 400;
        }
        div{
            font-weight: 800;
        }
    </style>
</head>
<body>
    <p>ppp</p>
    <div>div</div>
</body>
</html>